package com.nnnu.orange.constant;

import javax.swing.plaf.PanelUI;

public class MessageConstants {

    public static final String TOKEN_EXPIRE = "令牌过期啦";

    public static final String ACCOUNT_EXIST = "已存在";

    public static final String PASSWORD_IDENTICAL = "新密码与旧密码一致";
    public static final String PASSWORD_ERR = "旧密码不匹配哦";
    // 用户相关异常
    public static final String USER_NOT_FOUND = "用户不存在，请检查您的用户 ID 或用户名。";
    public static final String USER_PERMISSION_DENIED = "您没有权限执行此操作，请联系管理员获取更多帮助。";
    public static final String USER_DISABLED = "您的账户已被禁用，请联系管理员恢复使用权限。";

    // 图书相关异常
    public static final String BOOK_NOT_FOUND = "图书未找到，请检查图书编号。";
    public static final String BOOK_OUT_OF_STOCK = "抱歉，该图书当前已无库存，您可以选择预约等待通知。";
    public static final String BOOK_ALREADY_BORROWED = "您已借阅该图书，请勿重复借阅。如需帮助，请联系客服。";

    // 借阅相关异常
    public static final String USER_BORROW_LIMIT_REACHED = "您已达到最大借阅数量，请先归还部分图书后再进行新的借阅。";
    public static final String BOOK_RESERVATION_FAILED = "预约失败，该图书已被预约满，请稍后再试。";
    public static final String BOOK_RETURN_FAILED = "归还操作失败，请检查图书信息或联系管理员。";
    public static final String OVERDUE_FINE_PENDING = "您有逾期罚款未缴清，请先完成支付后再借阅新图书。";

    // 系统和其他异常
    public static final String DATABASE_ERROR = "数据库操作失败，请稍后重试。";
    public static final String NETWORK_ERROR = "网络连接失败，请检查您的网络连接。";
    public static final String UNKNOWN_ERROR = "系统发生未知错误，请联系管理员。";
    public static final String LOGIN_SUCCESS = "登陆成功";
    public static final String ADMIN_ERR = "管理员不存在";


    public static final String ADMIN_PASSWORD_ERR = "管理员密码错误";
    public static final String NORMAL = "normal";
    public static final String ACCOUNT_LOCKED = "账号被锁定";
    public static final String ADD_OK = "添加成功";
    public static final String SELECT_OK = "查询成功";
    public static final String OPERATION_SUCCESSFUL = "操作成功";
    public static final String NULL = "请检查数据";
    public static final String DELETE_FAILED = "删除失败";
    public static final String IN_THE_LIBRARY = "在库";
    public static final String BEFORE = "结束时间在开始时间之前";
    public static final String COMMENTS_TOP_UPDATE_ERR = "设置失败当前评论可能未审核、被删除、审核不通过";
    public static final String STATUS_EQUAL = "修改的状态相同";
    public static final String COMMENTS_NULL = "请检查图书id";
    public static final String COMMENTS_STATUS_UPDATE_ERR = "该图书状态可能为已删除或者审核未通过";
    public static final String COMMENT_NULL = "没有这条评论哦";
    public static final String RESERVATION_SUCCESS = "预约成功，请在规定时间内来取书否则将取消，您有一次修改取书的机会";
    public static final String RESERVATION_ERR = "未按时取书，预约已取消";
    public static final String RESERVATION_BOOK_ERR = "图书库存不足哦，下次吧~~~~";


    public static final String USER_EXISTENCE = "用户名已存在，请重试";

    public static final String PASSWORD_UPDATE_FAIL = "密码更新失败，请稍后重试。";
    public static final String USER_PASSWORD_ERR = "密码错误，请检查密码后重试";
    public static final String BORROWING_OK = "借阅成功，请在规定时间内归还哦";
    public static final String RETURN_OK = "归还成功，欢迎下次光临";
    public static final String PAY_OK = "支付成功";
    public static final String PAY_NULL = "订单不存在，请检查";
    public static final String PAY_ERR = "订单支付失败，请重试";
    public static final String RESERVATION_NULL = "预约记录不存在，请检查";
    public static final String RESERVATION_STATUS_ERR = "预约状态不允许取消，请联系管理员";
    public static final String RESERVATION_USER_CANCEL = "用户自行取消";
    public static final String LIST_NULL = "要删除的数据为空";
    public static final String BORROWINGID_NULL = "借阅id为空";
}
